package wci.intermediate.typeimpl;

import wci.intermediate.TypeKey;

/**
 * <h1>TypeKeyImpl</h1>
 * <p>类型说明的键，跟其它比如符号表键差不多.</p>
 * <p>Copyright (c) 2009 by Ronald Mak</p>
 * <p>For instructional purposes only.  No warranties.</p>
 */
public enum TypeKeyImpl implements TypeKey
{
    //枚举的属性
    ENUMERATION_CONSTANTS,

    // 子界的属性
    SUBRANGE_BASE_TYPE/*基础类型*/, SUBRANGE_MIN_VALUE/*下界*/,
    SUBRANGE_MAX_VALUE/*上界*/,

    // 数组属性
    ARRAY_INDEX_TYPE/*索引类型*/, ARRAY_ELEMENT_TYPE/*元素类型*/,
    ARRAY_ELEMENT_COUNT/*元素个数*/,

    // 记录
    RECORD_SYMTAB /*记录对应的符号表*/
}
